package MultiThreaded;

import java.util.Observable;

import javax.swing.JLabel;

public class SimulationBean {
	
	String CallPutFlag; // Call or put?
	Double S; // current price 
	Double X; // Strike price of the option
	Double T; // Time to maturity of the option (in years)
	Double r; // Discount rate (risk-free interest rate)
	Double b; //cost of carry rate (cost of interest, dividends and any other additional costs)
	Double v; // volatility of the underlying asset
	int nSteps; // Number of steps to execute for each option
	int nSimulations; // Number of simulations to run
	JLabel resultat;
	
	
	
	
	public JLabel getResultat() {
		return resultat;
	}





	public void setResultat(JLabel resultat) {
		this.resultat = resultat;
	}





	public String getCallPutFlag() {
		return CallPutFlag;
	}





	public void setCallPutFlag(String callPutFlag) {
		CallPutFlag = callPutFlag;
	}





	public Double getS() {
		return S;
	}





	public void setS(Double s) {
		S = s;
	}





	public Double getX() {
		return X;
	}





	public void setX(Double x) {
		X = x;
	}





	public Double getT() {
		return T;
	}





	public void setT(Double t) {
		T = t;
	}





	public Double getR() {
		return r;
	}





	public void setR(Double r) {
		this.r = r;
	}





	public Double getB() {
		return b;
	}





	public void setB(Double b) {
		this.b = b;
	}





	public Double getV() {
		return v;
	}





	public void setV(Double v) {
		this.v = v;
	}





	public int getnSteps() {
		return nSteps;
	}





	public void setnSteps(int nSteps) {
		this.nSteps = nSteps;
	}





	public int getnSimulations() {
		return nSimulations;
	}





	public void setnSimulations(int nSimulations) {
		this.nSimulations = nSimulations;
	}





	public SimulationBean(String callPutFlag, Double s, Double x, Double t,
			Double r, Double b, Double v, int nSteps, int nSimulations, JLabel resultat) {
		super();
		CallPutFlag = callPutFlag;
		S = s;
		X = x;
		T = t;
		this.r = r;
		this.b = b;
		this.v = v;
		this.nSteps = nSteps;
		this.nSimulations = nSimulations;
		this.resultat=resultat;
	}
	
	
	
	

}
